package com.dtx.practice.five;

public class A {

    public void mystery(int x){
        System.out.print(x % 10);
        if((x/10)!=0){
            mystery(x / 10);
        }
        System.out.print(x % 10);
    }

    public static void main(String[] args) {
        A a = new A();
        a.mystery(1234);
    }
}
